
<!DOCTYPE html>
<html class="no-js">
<head lang="en">

    <#include "../head_import.html" />

</head>
<body>
<#include "../include/top_nav.html">
    <div class="am-cf admin-main">

        <!-- sidebar start -->
        <#include "../category/left.html">
            <!-- sidebar end -->
            <!-- content start-->
            <div class="admin-content">
                <div class="am-cf am-padding">
                    <div class="am-fl am-cf"><@s.m "global.position"/>: <@s.m "shop.function.category"/> - <@s.m "productType.function"/> - <@s.m "global.edit"/></div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <form class="ropt">
                            <input type="submit" value="<@s.m "global.backToList"/>" onclick="this.form.action='list.do';"/>
                        </form>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <@p.form id="baseForm" action="o_update.do">
                        <@p.text colspan="2" width="100" label="productType.name" name="name" value=productType.name required="true" class="required" maxlength="100"/><@p.tr/>
                        <@p.text colspan="1" width="50" label="productType.channelPrefix" name="channelPrefix" value=productType.channelPrefix required="true" class="required" maxlength="20"/>
                        <@p.text colspan="1" width="50" label="productType.contentPrefix" name="contentPrefix" value=productType.contentPrefix required="true" class="required" maxlength="20"/><@p.tr/>

                        <@p.td colspan="1" width="50" label="productType.detailImg">
                        <@s.m "productType.width"/>: <input type="text" name="detailImgWidth" value="${productType.detailImgWidth}" style="width:40px" class="required digits" maxlength="10"/>
                        <@s.m "productType.height"/>: <input type="text" name="detailImgHeight" value="${productType.detailImgHeight}" style="width:40px" class="required digits" maxlength="10"/>
                    </@p.td>
                    <@p.td colspan="1" width="50" label="productType.listImg">
                    <@s.m "productType.width"/>: <input type="text" name="listImgWidth" value="${productType.listImgWidth}" style="width:40px" class="required digits" maxlength="10"/>
                    <@s.m "productType.height"/>: <input type="text" name="listImgHeight" value="${productType.listImgHeight}" style="width:40px" class="required digits" maxlength="10"/>
                </@p.td><@p.tr/>
                <@p.td colspan="2" label="productType.minImg">
                <@s.m "productType.width"/>: <input type="text" name="minImgWidth" value="${productType.minImgWidth}" style="width:40px" class="required digits" maxlength="10"/>
                <@s.m "productType.height"/>: <input type="text" name="minImgHeight" value="${productType.minImgHeight}" style="width:40px" class="required digits" maxlength="10"/>
            </@p.td><@p.tr/>
            <@p.td colspan="2"><@p.hidden name="id" value=productType.id/><@p.submit code="global.submit"/> &nbsp; <@p.reset code="global.reset"/></@p.td>
    </@p.form>
            </div>
    </div>
    </div>

    </div>
</body>
</html>



